package cn.yudao.org.mapper;

import cn.yudao.basic.mapper.BaseMapper;
import cn.yudao.org.domain.Employee;
import cn.yudao.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface EmployeeMapper extends BaseMapper<Employee> {


    Employee loadPhone(String username);

    void saveEmployeeRole(@Param("eId") Long id, @Param("rIds") List<Long> roles);

    void employeeRemoveRole(Long id);

    List<Long> queryRoleId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> loadbyShopId(Long shopId);
}
